package com.gitee.webdav.xml;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import com.gitee.webdav.kernel.Remark;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author hongda.li@hand-china.com
 */
@Data
@Accessors(chain = true)
@JacksonXmlRootElement(localName = "multistatus", namespace = "DAV:")
@Remark("响应结果")
public class MultiStatus {

    @JacksonXmlProperty(localName = "response", namespace = "DAV:")
    @JacksonXmlElementWrapper(useWrapping = false)
    private List<Response> responseList;
}
